package cn.juque.jdfsystem;

import cn.juque.lucenecandy.core.annotation.EnableLuceneCandy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>JdfSystemApplication</li>
 * </ul>
 * @date 2023-01-08 11:16:56
 **/
@EnableScheduling
@EnableAsync
@EnableLuceneCandy
@SpringBootApplication(exclude = {RedisAutoConfiguration.class, DataSourceAutoConfiguration.class},
        scanBasePackages = {"cn.hutool.extra.spring","cn.juque.lucenecandy", "cn.juque.jdfsystem"})
public class JdfSystemApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(JdfSystemApplication.class, args);
    }
}
